feat(install): one-command curl installer for binary + Claude Code plugin - #7
Merged
Conversation
…plugin Auto-discovers the latest release (redirect + API fallback), verifies sha256, installs to ~/.local/bin, wires the Claude Code plugin with curl|bash-safe stdin handling, and refreshes plugin assets on upgrade. Docs updated across README / INSTALL.zh-CN / INSTALLATION / RELEASING; releases attach a tag-pinned copy.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #6
Summary
One-command install/upgrade for macOS/Linux (amd64/arm64):
curl -fsSL https://raw.githubusercontent.com/relytcloud/engram/main/install.sh | bash--no-verifyescape hatch), installs to~/.local/bin(--dir), macOS quarantine stripengram setup claude-codewith curl|bash-safe stdin handling (tty inherit / /dev/tty borrow / /dev/null with an explanatory note — never lets a child eat script bytes), detects a foreign 'engram' marketplace and offers remediation (--replace-marketplace), then refreshes plugin assets (marketplace update+plugin update) sinceplugin installis a no-op on upgrades--version --dir --no-plugin --force --no-verify --protocol --replace-marketplace --yes --dry-run+ env mirrors; unknown flags fail loudlyinstall-scriptjob (ubuntu+macos): bash -n, shellcheck, dry-run, fresh install, 0.3.0→latest upgrade + idempotent re-run, true-pipe test, failure-mode exit codesinstall.shVerification (sandbox, all real output)
engram 0.4.0; true pipe (cat install.sh | bash -s --) → no hang, works🤖 Generated with Claude Code